<%-- 
    Document   : login
    Created on : Oct 13, 2013, 10:26:48 AM
    Author     : Ruwan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
        <style>
            table {
                border-collapse: collapse;
                border: 1px solid #38160C;
                font: normal 11px verdana, arial, helvetica, sans-serif;
                color: #F6ECF0;
                background: #641B35;
            }
            caption {
                text-align: left;
                font: normal 11px verdana, arial, helvetica, sans-serif;
                background: transparent;
            }
            td, th {
                border: 1px dashed #B85A7C;
                padding: .8em;
                color: #F6ECF0;
            }
            thead th, tfoot th {
                font: bold 11px verdana, arial, helvetica, sans-serif;
                border: 1px solid #A85070;;
                text-align: left;
                background: #38160C;
                color: #F6ECF0;
                padding-top:6px;
            }
            tbody td a {
                background: transparent;
                text-decoration: none;
                color: #F6ECF0;
            }
            tbody td a:hover {
                background: transparent;
                color: #FFFFFF;
            }
            tbody th a {
                font: normal 11px verdana, arial, helvetica, sans-serif;
                background: transparent;
                text-decoration: none;
                font-weight:normal;
                color: #F6ECF0;
            }
            tbody th a:hover {
                background: transparent;
                color: #FFFFFF;
            }
            tbody th, tbody td {
                vertical-align: top;
                text-align: left;
            }
            tfoot td {
                border: 1px solid #38160C;
                background: #38160C;
                padding-top:6px;
            }
            .odd {
                background: #7B2342;
            }
            tbody tr:hover {
                background: #51152A;
            }
            tbody tr:hover th,
            tbody tr.odd:hover th {
                background: #51152A;
            }
            input{
                border: #38160C solid thin;
                font-weight: bold;
            }
        </style>
    </head>
    <body onload="document.getElementById('username').focus();">
        <form name="frmlogin" action="" method="post">
            <table>
                <thead>
                <th colspan="2">MIS 2040 Java Shiro Assignment</th>
                </thead>
                <tr>
                    <td>Username:</td>
                    <td>
                        <input id="username" type="text" name="username" maxlength="10">
                    </td>
                </tr>
                <tr>
                    <td>Password:</td>
                    <td>
                        <input id="password" type="password" name="password" maxlength="15">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="checkbox" name="rememberme">Remember Me
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" name="submit" value="Login">
                    </td>
                </tr>
                <tr>
                    <td colspan="2"><strong>Test Data</strong></td>
                </tr>
                <tr>
                    <td>Administrator User/Password</td>
                    <td>admin/pass</td>
                </tr> 
                <tr>
                    <td>None Administrator User/Password</td>               
                    <td>user/pass</td>
                </tr>
                <tfoot>
                    <tr>
                        <td colspan="2">Developed by: Ruwan Pradeep Geegange - MIS/2012/005</td>
                    </tr>
                </tfoot>                
            </table> 
        </form>        
    </body>
</html>
